.homePageSubstationEnergyConsumptionPage {
    width: calc(100% - 64px);
    height: calc(100% - 48px);
    margin: 16px 32px 32px;
    border-radius: 4px;

    .homePageSubstationEnergyConsumptionPage-headerMenu {
        width: 100%;
        height: 48px;
        background: rgba(23, 161, 230, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;

        .homePageSubstationEnergyConsumptionPage-headerMenu__substationEnergyConsumptionPageHeaderMenuTabComponent {
            display: flex;

            .headerMenu-substationEnergyConsumptionPageHeaderMenuTabComponent__tabItem {
                padding: 10px 8px;
                border-radius: 2px 2px 0px 0px;
                margin-right: 4px;
                font-size: 14px;
                font-weight: 400;
                border-style: solid;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
            }
        }

        .homePageSubstationEnergyConsumptionPage-headerMenu__homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent {
            font-size: 14px;
            font-weight: 400;
            color: #B8D6E6;
            display: flex;
            align-items: center;

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__switch {
                width: 81px;
                height: 24px;
                background: rgba(23, 161, 230, 0.3);
                border: 1px solid #17A1E6;
            }

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__scale {
                width: 120px;
                height: 24px;
                background-color: rgba(23, 161, 230, 0.2);
                border-radius: 12px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 10px;
                margin: 0 16px;

                .homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent-scale__image {
                    width: 16px;
                    height: 16px;
                    cursor: pointer;
                }

                .homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent-scale__value {
                    font-size: 14px;
                    font-weight: 400;
                    color: #7ACCF5;
                    cursor: pointer;
                }
            }

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__dataTypeSelect {
                width: 181px;
                margin-right: 30px;
            }

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__dateTypeSelect {
                width: 80px;
                margin-right: 13px;
            }

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__datePicker {
                width: 150px;

                &:hover {
                    border: 1px solid rgba(23, 161, 230, 1);
                }
            }

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__division {
                width: 1px;
                height: 29px;
                background-color: #0F384D;
                margin: 0 15px 0 14px;
            }

            .headerMenu-homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent__siteBox {
                .homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent-siteBox__siteSelect {
                    width: 240px;
                    margin-right: 20px;
                }

                :global {

                    // 选择框
                    .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
                        font-size: 14px;
                        background-color: rgba(23, 161, 230, 0.2);
                        font-weight: 400;
                        height: 32px;
                        border-radius: 2px;
                        border: 1px solid rgba(23, 161, 230, 0.3);
                    }

                    //选择框文字
                    .ant-select-single.ant-select-show-arrow .ant-select-selection-item {
                        color: #B8D6E6;

                    }

                    // 选择框下拉箭头
                    .ant-select-arrow {
                        color: #7A8F99;
                    }

                    // 选择框hover
                    .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector {
                        border: 1px solid rgba(23, 161, 230, 1);
                    }

                    //  选择框选择完成
                    .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
                        box-shadow: none;
                    }
                }
            }

            :global {

                // 开关内容
                .ant-switch .ant-switch-inner {
                    white-space: nowrap;
                }

                // 开关文字
                .ant-switch.ant-switch-checked .ant-switch-inner .ant-switch-inner-checked,
                .ant-switch .ant-switch-inner .ant-switch-inner-unchecked {
                    font-size: 12px;
                    font-weight: 400;
                    color: #B8D6E6;
                }

                // 开关按钮
                .ant-switch .ant-switch-handle::before {
                    width: 16px;
                    height: 16px;
                    background: rgba(23, 161, 230, 0.8)
                }

                // 选择框
                .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
                    font-size: 14px;
                    background-color: rgba(0, 0, 0, 0);
                    font-weight: 400;
                    height: 32px;
                    border-radius: 2px;
                    border: 1px solid rgba(23, 161, 230, 0.5);
                }

                //选择框文字
                .ant-select-single.ant-select-show-arrow .ant-select-selection-item {
                    color: #B8D6E6;

                }

                // 选择框下拉箭头
                .ant-select-arrow {
                    color: #7A8F99;
                }

                // 选择框hover
                .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector {
                    border: 1px solid rgba(23, 161, 230, 1);
                }

                //  选择框选择完成
                .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {
                    box-shadow: none;
                }

                // 时间选择框
                .ant-picker {
                    // padding-top: 10px;
                    height: 32px;
                    border-radius: 2px;
                    background-color: rgba(0, 0, 0, 0);
                    border: 1px solid rgba(23, 161, 230, 0.5);
                    cursor: pointer;
                }

                // 时间选择输入框
                .ant-picker .ant-picker-input>input {
                    font-size: 14px;
                    font-weight: 400;
                    color: #B8D6E6;
                    cursor: pointer;
                }

                // 时间选择框图标
                .ant-picker .ant-picker-suffix {
                    color: #7A8F99;
                }
            }
        }
    }

    .homePageSubstationEnergyConsumptionPage-main {
        height: calc(100% - 48px);
    }

}

// 头部缩放下拉框
.homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent-scale__dropdown {
    .scale__dropdown__items {
        width: 100%;
        height: 32px;
        background-color: rgba(15, 56, 77, 0.9);
        border-radius: 2px 0px 0px 0px;
        display: flex;
        padding-left: 20px;
        align-items: center;
        font-size: 14px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.85);

        &:hover {
            background-color: rgba(23, 161, 230, 0.5);
        }
    }

    :global {
        .ant-dropdown-menu {
            padding: 0;
            margin-top: 6px;
            background-color: rgba(15, 56, 77, 0.9);
            border-radius: 2px;
            border: 1px solid #17A1E6;
        }

        .ant-dropdown-menu-item {
            width: 120px;
            background-color: rgba(0, 0, 0, 0);
            box-shadow: 0px 6px 16px 0px rgb(9 13 15 / 30%), 0px 3px 6px 0px rgb(9 13 15 / 20%);
            padding: 0 !important;
        }

    }
}

:global {

    // 下拉框
    .ant-select-dropdown.homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent-dataTypeSelect__selectDropdown {
        background-color: rgba(15, 56, 77, 0.9);
        box-shadow: 0px 6px 16px 0px rgba(9, 13, 15, 0.3), 0px 3px 6px 0px rgba(9, 13, 15, 0.2);
        border-radius: 2px;
        border: 1px solid rgba(23, 161, 230, 1);
        padding: 0;

        // 下拉框文字
        .ant-select-item-option-content {
            font-size: 14px;
            font-weight: 400;
            color: #B8D6E6;

        }

        // 下拉框选中选项
        .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
            background-color: rgba(23, 161, 230, 0.5);
            border-radius: 0%;
        }
    }

    // 下拉框
    .ant-select-dropdown.homePageSubstationEnergyConsumptionPageHeaderMenuFilterComponent-dateTypeSelect__selectDropdown {
        background-color: rgba(15, 56, 77, 0.9);
        box-shadow: 0px 6px 16px 0px rgba(9, 13, 15, 0.3), 0px 3px 6px 0px rgba(9, 13, 15, 0.2);
        border-radius: 2px;
        border: 1px solid rgba(23, 161, 230, 1);
        padding: 0;

        // 下拉框文字
        .ant-select-item-option-content {
            font-size: 14px;
            font-weight: 400;
            color: #B8D6E6;

        }

        // 下拉框选中选项
        .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
            background-color: rgba(23, 161, 230, 0.5);
            border-radius: 0%;
        }
    }

    // 下拉框
    .ant-select-dropdown.siteBox-siteSelect__selectDropdown {
        background-color: rgba(15, 56, 77, 0.9);
        box-shadow: 0px 6px 16px 0px rgba(9, 13, 15, 0.3), 0px 3px 6px 0px rgba(9, 13, 15, 0.2);
        border-radius: 2px;
        border: 1px solid rgba(23, 161, 230, 1);
        padding: 0;

        // 下拉框文字
        .ant-select-item-option-content {
            font-size: 14px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.85);

        }

        // 下拉框选中选项
        .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
            background-color: rgba(23, 161, 230, 0.5);
            border-radius: 0%;
        }

        // 下拉框分组标题
        .ant-select-item-group {
            font-size: 14px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.65);
            border-radius: 2px;
            border-top: 1px solid rgba(23, 161, 230, 0.2);
        }
    }


}